/*
 * @Author: 29340 2934022986@qq.com
 * @Date: 2025-03-13 10:36:54
 * @LastEditors: 29340 2934022986@qq.com
 * @LastEditTime: 2025-04-07 15:14:04
 * @FilePath: \Exam system\src\main.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { createApp } from 'vue'
import App from './APP.vue'
import router from './router'
import { createPinia } from 'pinia'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

// 创建 Vue 实例
const app = createApp(App)

// 安装 Pinia 状态管理库
const pinia = createPinia()
app.use(pinia)

// 安装路由
app.use(router)

// 安装 ElementPlus UI 库
app.use(ElementPlus)

// 挂载应用
app.mount('#app')